package com.itbupt.eat.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itbupt.eat.entity.Category;

/**
 * @Author BUPT-Dingchang
 * @Create 2024/4/29 17:44
 * ClassName: ICategoryService
 * Description:
 */
public interface ICategoryService extends IService<Category> {

    // 分页查询+条件查询
    Page<Category> getPage(Long currentPage, Long pageSize);

    // 删除分类
    boolean remove(Long id);
}
